/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package campo;

import Objetos.Node;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 *
 * @author KilleR
 */
public class Listenerzao implements ActionListener {

    Node node;

    public Listenerzao(Node node) {
        this.node = node;
    }

    public void actionPerformed(ActionEvent e) {
        node.setTexto("1");
        System.out.println(node.toString());
    }
}
